import { getData, postData } from '../../../untils/request';

// 搜索文章
export async function searchArticles(content, userId, page, size) {
  const articles = await getData(`/article/searchArticle/${content}/${userId}/${page}/${size}`);
  return articles;
}
